import { NewCourseModel,updateCourseVideo,UpdateCourse,againUpdateCourseVideo } from "../model/NewCourseModel";


export interface AdminService {
	addNewCourse(info: NewCourseModel): Promise<Object>;
	updateCourseVideo(info: [ updateCourseVideo ]): Promise<Object>;
	getAllCourse(page: number): Promise<Object>;
	getCourseInfo(id: string): Promise<Object>;
	UpdateCourse(course: UpdateCourse): Promise<Object>;
	getVideoList(id: string): Promise<Array<any>>;
	againUpdateCourseVideo(course: [ againUpdateCourseVideo ]): Promise<Object>;
	deleteCourseAndVideo(id: string): Promise<Object>;
	getAllClass(): Promise<Object>;
	deleteClassById(id: string): Promise<Object>;
	addNewClass(title: string): Promise<Object>;
	adminLogin(params: Object): Promise<Object>;
}